package ru.niir.goodfil.audit.domain;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class ClientDeliveryInfoChangeEvent extends Event {
    @Column(length = 10)
    private String clientId;

    @Column(length = 200)
    private String clientName;

    @Column(length = 1000)
    private String deliveryInfoOldString;

    @Column(length = 1000)
    private String deliveryInfoNewString;

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getDeliveryInfoOldString() {
        return deliveryInfoOldString;
    }

    public void setDeliveryInfoOldString(String deliveryInfoOldString) {
        this.deliveryInfoOldString = deliveryInfoOldString;
    }

    public String getDeliveryInfoNewString() {
        return deliveryInfoNewString;
    }

    public void setDeliveryInfoNewString(String deliveryInfoNewString) {
        this.deliveryInfoNewString = deliveryInfoNewString;
    }

    @Override
    public String toString() {
        return "ClientDeliveryInfoChangeEvent{" +
                "clientId='" + clientId + '\'' +
                ", clientName='" + clientName + '\'' +
                ", deliveryInfoOldString='" + deliveryInfoOldString + '\'' +
                ", deliveryInfoNewString='" + deliveryInfoNewString + '\'' +
                '}';
    }
}
